/*
*所有关于warehousemodel类的业务代码接口应在此处编写
*/
using VOL.Core.BaseProvider;
using VOL.Entity.DomainModels;
using VOL.Core.Utilities;
using System.Linq.Expressions;
using System.Threading.Tasks;
using System.Collections.Generic;

namespace VOL.demo.IServices
{
    public partial interface IwarehousemodelService
    {
        /// <summary>
        /// 根据仓库ID获取仓库信息
        /// </summary>
        /// <param name="warehouseId">仓库ID</param>
        /// <returns>仓库信息</returns>
        Task<warehousemodel> GetWarehouseByIdAsync(long warehouseId);

        /// <summary>
        /// 获取所有启用状态的仓库列表
        /// </summary>
        /// <returns>仓库列表</returns>
        Task<List<warehousemodel>> GetActiveWarehousesAsync();

        /// <summary>
        /// 根据仓库编号获取仓库信息
        /// </summary>
        /// <param name="warehouseCode">仓库编号</param>
        /// <returns>仓库信息</returns>
        Task<warehousemodel> GetWarehouseByCodeAsync(string warehouseCode);
    }
 }
